<?php
namespace app\model\admin\map;

use think\model\Pivot;

class MapBoardContent extends Pivot
{
    protected $name = 'map_board_content';


    public function content(){
        return $this->hasOne(MapContent::class,"id","content_id");
    }
}